using System;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using Microsoft.EntityFrameworkCore;

namespace Daemon.Model
{
    [Table("IM_ORGANINFO")]
    public partial class IMOrganizationInfo
    {
        [Key]
        [DatabaseGenerated(DatabaseGeneratedOption.Identity)]
        [Column("ORGANID")]
        public int OrganizeId { get; set; }

        [Column("ORGANNAME")]
        public string OrganizeName { get; set; }

        [Column("PARENTID")]
        public int ParentId { get; set; }

        [Column("STATE")]
        public int? State { get; set; }

        [Column("REMARK")]
        public string Remark { get; set; }

        [Column("LEVEL")]
        public int? Level { get; set; }

        [Column("HMPREFIX")]
        public string HMPrefix { get; set; }

        [Column("CMPREFIX")]
        public string CMPrefix { get; set; }

        [Column("CURRENTYEAR")]
        public int? CurrentYear { get; set; }

        [Column("LMTIME")]
        public DateTime LMTime { get; set; }

        [Column("LEGALPERSON")]
        public string LegalPerson { get; set; }

        [Column("ORGANIZATIONALCODE")]
        public string OrganizationCode { get; set; }

        [Column("PHONE")]
        public string Phone { get; set; }

        [Column("ADDRESS")]
        public string Address { get; set; }

        [Column("EMAIL")]
        public string Email { get; set; }

        [Column("ISCHECKDOWN")]
        public int? IsCheckDown { get; set; }

        [Column("ISCHECKDOWNITEM")]
        public int? IsCheckDownItem { get; set; }
    }
}